<script language="JavaScript" type="text/javascript">
<!--

l_empty_message = "{L_EMPTY_MESSAGE}"; 
l_no_text_selected = "{L_NO_TEXT_SELECTED}";

//-->
</script>

<script language="JavaScript" type="text/javascript" src="templates/quick_reply.js"></script>

<form action="{S_QUICK_REPLY_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
<tr>
<td valign="top" colspan="2" class="row1">
<table border="0" cellpadding="5" cellspacing="1" width="100%">
<!-- BEGIN switch_user_logged_out -->
<tr> 
	<td width="135"><span class="gen"><b>{L_USERNAME}</b></span></td>
	<td><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>
</tr>
<!-- END switch_user_logged_out -->
<tr>
	<td valign="top" width="135">
	<table width="100%" border="0" cellspacing="0" cellpadding="1">
	<tr> 
		<td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>
	</tr>

		  <tr> 
			<td valign="middle" align="center"> <br />
			  <table width="100" border="0" cellspacing="0" cellpadding="5">
				<tr align="center"> 
				  <td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>
				</tr>
				<!-- BEGIN smilies_row -->
				<tr align="center" valign="middle"> 
				  <!-- BEGIN smilies_col -->
				  <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
				  <!-- END smilies_col -->
				</tr>
				<!-- END smilies_row -->
				<!-- BEGIN switch_smilies_extra -->
				<tr align="center"> 
				  <td colspan="{S_SMILIES_COLSPAN}"><span  class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
				</tr>
				<!-- END switch_smilies_extra -->
			  </table>
			</td>
		  </tr>

	</table>
	</td>
	<td valign="top">
			<table width="450" border="0" cellspacing="0" cellpadding="5">
				<tr align="center" valign="middle" class="genmed">
					<td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width:30px" onClick="bbstyle(0)" /></td>
					<td><input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width:30px" onClick="bbstyle(2)" /></td>
					<td><input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width:30px" onClick="bbstyle(4)" /></td>
					<td><input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width:50px" onClick="bbstyle(6)" /></td>
					<td><input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width:40px" onClick="bbstyle(8)" /></td>
					<td><input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width:40px" onClick="bbstyle(10)" /></td>
					<td><input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width:40px" onClick="bbstyle(12)" /></td>
					<td><input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width:40px"  onClick="bbstyle(14)" /></td>
					<td><input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width:40px" onClick="bbstyle(16)" /></td>
				</tr>
			</table>
				<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="2" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea><br />
				<!-- BEGIN switch_user_logged_in -->
				<span class="gensmall"><br /><input type="checkbox" name="attach_sig" {S_ATTACH_SIGNATURE}>{L_ATTACH_SIGNATURE}<br /><input type="checkbox" name="notify" {S_NOTIFY}>{L_NOTIFY}<br /><br /></span>
				<!-- END switch_user_logged_in -->
		</td>
	</tr>
	<tr>
		<td align="center" height="28" colspan="2">{S_HIDDEN_FORM_FIELDS}<input type="submit" name="preview" class="liteoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" name="post" tabindex="3" class="mainoption" value="{L_SUBMIT}" /></td>
	</tr>
	</table>

	</td>
</tr>
</form>          